package com.zmn.mcc.common.dto.staff;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
public class StaffDRO implements Serializable {
    private static final long serialVersionUID = -5642860043218939134L;

    private Integer staffId;
    private String staffName;
    private String realName;
    private String pinyinName;
    private String password;
    private String salt;
    private Integer initPwd;
    private Integer companyId;
    private Integer orgTop;
    private Integer plat;
    private Integer orgTwoId;
    private Integer orgThrId;
    private Integer orgId;
    private Integer deptOneId;
    private Integer deptTwoId;
    private Integer deptThrId;
    private Integer deptId;
    private String deptName;
    private String mobile;
    private String phone;
    private String mail;


    /**
     * 职序类型：M(管理序列)，S(营销序列)，F(运营序列)，T(技术序列)，P(职能序列)
     */
    private String gradesType;

    private Integer whitelist;
    private Integer permitSelf;
    private Integer dpermitOrgSelf;
    private Integer dpermitDeptSelf;
    private Integer dpermitAreaSelf;
    private Integer dpermitChannelSelf;
    private Integer dpermitCubeSelf;
    private Integer dpermitProductSelf;
    private Integer dpermitPromotionSelf;
    private Integer dpermitCooperationSelf;
    private Integer identityType;
    private Integer type;

    /**
     * 钉钉userId
     **/
    private String dTalkId;

    /**
     * 档案号
     **/
    private String archivesNumber;

    /**
     * 工号
     **/
    private String staffNumber;

    /**
     * 员工状态，1试用，2正式，3离职
     **/
    private Integer staffStatus;

    /**
     * 职级，1专员，2主管，3经理，4总监
     **/
    private Integer positionLevel;

    /**
     * 职级
     **/
    private Integer probationPeriodType;

    /**
     * 入职时间
     **/
    private Date entryTime;

    /**
     * 转正时间
     **/
    private Date becomeFormalTime;

    /**
     * 最后登录时间
     **/
    private Date lastLoginTime;

    private String remark;
    private Integer sort;
    private Integer status;
    private String updater;
    private Date updateTime;
    private Date createTime;
    private String creater;


    /**
     * 职务
     **/
    private String post;

    /**
     * 职务ID，对应角色ID（主职）
     */
    private Integer postId;
}